<?php
/**
 * @describe 心跳接口
 *
 * @author wlx
 * @since 2018/11/5
 */

namespace App\Http\Controllers;


class HealthController extends Controller
{
    /**
     * 心跳检查
     * @return $this
     */
    public function check()
    {
        $content = ['status' => 'UP'];
        $status = 200;
        $value = 'application/json; charset=utf-8';
        return response($content, $status)
            ->header('Content-Type', $value);

    }

}